import QtQuick 1.1
import com.nokia.meego 1.0
import QtQuick 1.0

Dialog {
    id: root
    property alias text: text.text
    property alias title: about.text

    title: Text {
        id: about
        anchors.horizontalCenter: parent.horizontalCenter
        font.pointSize: 18
        color: "white"
        text: qsTr("About");
    }

    content: Item{
        id:name
        width: parent.width
        height: text.height

        Text{
            id:text
            width: parent.width
            font.pointSize: 14
            anchors.centerIn: parent
            color: "white"
            wrapMode: Text.Wrap
            text: qsTr("MeeComic - Copyright (C) 2011 Juhana Paavola <juhana.paavola@gmail.com>\n"
                       +"Version: 0.0.4\n"
                       +"http://projects.developer.nokia.com/meecomic\n\n"
                       +"Thanks:\n"
                       +"-------\n"
                       +"QuaZIP - Sergey A. Tachenov, AKA Alqualos<stachenov@gmail.com>\n"
                       +"Unrar - Alexander L. Roshal\n"
                       +"\nDisclaimer & Warranty\n"
                       +"---------------------\n\n"
                       +"Absolutely no warranty, not any kind. I will not be responsible if you break or damage you, hardware or something else somehow. You use software at your own risk."
                       +"\n\n"
                       +"License\n"
                       +"--------\n"
                       +"LGPL v3.0");
        }
    }

    buttons: ButtonRow{
        style: ButtonStyle{}
        anchors.horizontalCenter: parent.horizontalCenter
        Button{text: qsTr("Close"); onClicked: root.accept();}
    }
}
